package com.liy.cloud.common.yy.service;

import com.liy.cloud.common.yy.entity.YyTicketDetail;
import com.liy.cloud.common.yy.entity.YyTicketMain;
import com.das.framework.common.service.IBaseService;

import java.util.List;

/**
 * 设备票箱信息主表 Service服务接口定义
 * @ClassName: YyTicketMainService
 * @Description: 
 * @author: libs
 * @date: 2018-08-15 20:28:56
 */
public interface YyTicketMainService extends IBaseService<YyTicketMain, String>{

    /**
     * 保存票箱的接口数据
     * @param yyTicketMainEntity
     * @param yyTicketDetailList
     * @throws Exception
     */
    void saveTicketDevice(YyTicketMain yyTicketMainEntity, List<YyTicketDetail> yyTicketDetailList) throws Exception;


    /**
     * 修改采集状态
     * @param yyTicketMainEntity
     * @return
     */
    void updateSign(YyTicketMain yyTicketMainEntity);
}            